package com.disthen.message.core.receive;

import com.disthen.message.core.receive.ack.Response;
import com.disthen.message.core.thrift.model.message;

public abstract class AbstractMsgLitener<R extends Response> implements IMsgLitener<message,R>{

	@Override
	public void onReceive(message msg) {
		System.out.println(msg.getMessageBody());
	}
	
	public R onReceivWithResponse(message msg){
		return null;
	}
}
